/*
 * Created by JFormDesigner on Thu Jun 04 16:44:54 EEST 2009
 */

package org.mstrsoft.integration.view;

import java.awt.*;
import java.util.*;
import javax.swing.*;
import javax.swing.border.*;
import com.jgoodies.forms.factories.*;
import com.jgoodies.forms.layout.*;

/**
 * @author Dmitry Bogdanov
 */
public class ScroolMainFrame extends JPanel {
    public ScroolMainFrame() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
        // Generated using JFormDesigner Evaluation license - Dmitry Bogdanov
        ResourceBundle bundle = ResourceBundle.getBundle("org.mstrsoft.integration.view.intreface");
        DefaultComponentFactory compFactory = DefaultComponentFactory.getInstance();
        scrollPane2 = new JScrollPane();
        toolBar1 = new JToolBar();
        panel1 = new JPanel();
        commonLabel = compFactory.createSeparator(bundle.getString("ScroolMainFrame.commonLabel.text"), SwingConstants.CENTER);
        button2 = new JButton();
        button1 = new JButton();
        button3 = new JButton();
        button4 = new JButton();
        button5 = new JButton();
        panel2 = new JPanel();
        separator1 = compFactory.createSeparator(bundle.getString("ScroolMainFrame.ServiceLabel"), SwingConstants.CENTER);
        standartAdapter = new JButton();
        fileAdapter = new JButton();
        jmsAdapter = new JButton();
        webServiceAdapter = new JButton();
        rmiAdapter = new JButton();
        httpAdapter = new JButton();
        mailAdapter = new JButton();
        streamAdapter = new JButton();
        panel3 = new JPanel();
        panel4 = new JPanel();
        button13 = new JButton();
        scrollPane3 = new JScrollPane();
        menuBar1 = new JMenuBar();
        FileMenu = new JMenu();

        //======== this ========

        // JFormDesigner evaluation mark
        setBorder(new javax.swing.border.CompoundBorder(
            new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                javax.swing.border.TitledBorder.BOTTOM, new java.awt.Font("Dialog", java.awt.Font.BOLD, 12),
                java.awt.Color.red), getBorder())); addPropertyChangeListener(new java.beans.PropertyChangeListener(){public void propertyChange(java.beans.PropertyChangeEvent e){if("border".equals(e.getPropertyName()))throw new RuntimeException();}});

        setLayout(new BorderLayout());

        //======== scrollPane2 ========
        {

            //======== toolBar1 ========
            {
                toolBar1.setOrientation(SwingConstants.VERTICAL);
                toolBar1.setRollover(true);

                //======== panel1 ========
                {
                    panel1.setLayout(new GridLayout(0, 1));
                    panel1.add(commonLabel);

                    //---- button2 ----
                    button2.setText(bundle.getString("ScroolMainFrame.buttonGateway"));
                    button2.setIcon(UIManager.getIcon("Menu.arrowIcon"));
                    button2.setFont(button2.getFont().deriveFont(button2.getFont().getStyle() | Font.BOLD, button2.getFont().getSize() - 2f));
                    panel1.add(button2);

                    //---- button1 ----
                    button1.setText(bundle.getString("ScroolMainFrame.chanelButton"));
                    button1.setIcon(UIManager.getIcon("Menu.arrowIcon"));
                    button1.setFont(button1.getFont().deriveFont(button1.getFont().getStyle() | Font.BOLD, button1.getFont().getSize() - 2f));
                    panel1.add(button1);

                    //---- button3 ----
                    button3.setText(bundle.getString("ScroolMainFrame.buttonSplitter"));
                    button3.setIcon(UIManager.getIcon("MenuItem.arrowIcon"));
                    button3.setFont(button3.getFont().deriveFont(button3.getFont().getStyle() | Font.BOLD, button3.getFont().getSize() - 2f));
                    panel1.add(button3);

                    //---- button4 ----
                    button4.setText(bundle.getString("ScroolMainFrame.buttonRouter"));
                    button4.setIcon(UIManager.getIcon("Menu.arrowIcon"));
                    button4.setFont(button4.getFont().deriveFont(button4.getFont().getStyle() | Font.BOLD, button4.getFont().getSize() - 2f));
                    panel1.add(button4);

                    //---- button5 ----
                    button5.setText(bundle.getString("ScroolMainFrame.buttonService"));
                    button5.setIcon(UIManager.getIcon("Menu.arrowIcon"));
                    button5.setFont(button5.getFont().deriveFont(button5.getFont().getStyle() | Font.BOLD, button5.getFont().getSize() - 2f));
                    panel1.add(button5);
                }
                toolBar1.add(panel1);

                //======== panel2 ========
                {
                    panel2.setLayout(new GridLayout(0, 1));
                    panel2.add(separator1);

                    //---- standartAdapter ----
                    standartAdapter.setText(bundle.getString("ScroolMainFrame.standartAdapter.text"));
                    standartAdapter.setIcon(UIManager.getIcon("RadioButton.icon"));
                    panel2.add(standartAdapter);

                    //---- fileAdapter ----
                    fileAdapter.setText(bundle.getString("ScroolMainFrame.fileAdapter.text"));
                    fileAdapter.setIcon(UIManager.getIcon("FileView.fileIcon"));
                    panel2.add(fileAdapter);

                    //---- jmsAdapter ----
                    jmsAdapter.setText(bundle.getString("ScroolMainFrame.jmsAdapter.text"));
                    jmsAdapter.setIcon(UIManager.getIcon("FileChooser.detailsViewIcon"));
                    panel2.add(jmsAdapter);

                    //---- webServiceAdapter ----
                    webServiceAdapter.setText(bundle.getString("ScroolMainFrame.webServiceAdapter.text"));
                    webServiceAdapter.setIcon(UIManager.getIcon("RootPane.titleIcon"));
                    panel2.add(webServiceAdapter);

                    //---- rmiAdapter ----
                    rmiAdapter.setText(bundle.getString("ScroolMainFrame.rmiAdapter.text"));
                    rmiAdapter.setIcon(UIManager.getIcon("FileChooser.homeFolderIcon"));
                    panel2.add(rmiAdapter);

                    //---- httpAdapter ----
                    httpAdapter.setText(bundle.getString("ScroolMainFrame.httpAdapter.text"));
                    httpAdapter.setIcon(UIManager.getIcon("FileView.hardDriveIcon"));
                    panel2.add(httpAdapter);

                    //---- mailAdapter ----
                    mailAdapter.setText(bundle.getString("ScroolMainFrame.mailAdapter.text"));
                    mailAdapter.setIcon(UIManager.getIcon("InternalFrame.restoreIcon"));
                    panel2.add(mailAdapter);

                    //---- streamAdapter ----
                    streamAdapter.setText(bundle.getString("ScroolMainFrame.streamAdapter.text"));
                    streamAdapter.setIcon(UIManager.getIcon("FileChooser.listViewIcon"));
                    panel2.add(streamAdapter);
                }
                toolBar1.add(panel2);
            }
            scrollPane2.setViewportView(toolBar1);
        }
        add(scrollPane2, BorderLayout.EAST);

        //======== panel3 ========
        {
            panel3.setLayout(new BorderLayout());

            //======== panel4 ========
            {
                panel4.setBorder(new TitledBorder(bundle.getString("ScroolMainFrame.panel4.border")));
                panel4.setLayout(new BoxLayout(panel4, BoxLayout.Y_AXIS));

                //---- button13 ----
                button13.setText(bundle.getString("ScroolMainFrame.button13.text"));
                panel4.add(button13);
            }
            panel3.add(panel4, BorderLayout.WEST);
            panel3.add(scrollPane3, BorderLayout.CENTER);
        }
        add(panel3, BorderLayout.CENTER);

        //======== menuBar1 ========
        {

            //======== FileMenu ========
            {
                FileMenu.setText(bundle.getString("ScroolMainFrame.FileMenu.text"));
            }
            menuBar1.add(FileMenu);
        }
        add(menuBar1, BorderLayout.NORTH);
        // JFormDesigner - End of component initialization  //GEN-END:initComponents
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
    // Generated using JFormDesigner Evaluation license - Dmitry Bogdanov
    private JScrollPane scrollPane2;
    private JToolBar toolBar1;
    private JPanel panel1;
    private JComponent commonLabel;
    private JButton button2;
    private JButton button1;
    private JButton button3;
    private JButton button4;
    private JButton button5;
    private JPanel panel2;
    private JComponent separator1;
    private JButton standartAdapter;
    private JButton fileAdapter;
    private JButton jmsAdapter;
    private JButton webServiceAdapter;
    private JButton rmiAdapter;
    private JButton httpAdapter;
    private JButton mailAdapter;
    private JButton streamAdapter;
    private JPanel panel3;
    private JPanel panel4;
    private JButton button13;
    private JScrollPane scrollPane3;
    private JMenuBar menuBar1;
    private JMenu FileMenu;
    // JFormDesigner - End of variables declaration  //GEN-END:variables
}
